package com.gismore.demo.db.service;

import com.gismore.demo.db.domain.SecUser;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lei
 * @since 2017-05-25
 */
public interface ISecUserService extends IService<SecUser> {
	Boolean verify(String accessToken);
	SecUser findByToken(String accessToken);
	SecUser findByUser(String username, String password) throws Exception;
	String generateToken(SecUser secUser);
}
